package yf.mall.service;

import com.yf.service.BaseService;
import yf.mall.entity.AccCardEntity;
import yf.mall.entity.CartEntity;

import java.util.List;

/**
 * 银行卡Service接口
 *
 * 
 *
 * @date Fri Jul 10 10:01:37 CST 2020
 */
public interface AccCardService extends BaseService<AccCardEntity>{


    /**

     List<AccCardVo> queryListVo(AccCardVo accCardVo);

        AccCardVo getVo(Long id);

     **/

   /***********BACK***********/

    /***********API***********/

    List<AccCardEntity> accList(long userId);


    void deleteByUserId(long userId, Long id);


    void merge(Long userId, AccCardEntity cardEntity);

    AccCardEntity findByUserId(Long userId);
}
